<%@ tag pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@attribute name="phoneNumber" required="true" rtexprvalue="true"
	type="java.lang.String"%>
	
<c:set var="login" value="${not empty currentUser && currentUser.role!=1}"/>
<c:set var="exist" value="${not empty phoneNumber}"/>
<c:if test="${login&&exist}" var="flag">
	${phoneNumber}
</c:if>
<c:if test="${!flag }">
	<c:if test="${exist}">
		${fn:substring(phoneNumber,0,3)}********
	</c:if>
	<c:if test="${!exist }">
		暂无
	</c:if>
</c:if>





